package com.lu.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lu.model.dto.UserRoleResourcesDTO;
import com.lu.model.entity.SysResources;

import java.util.List;

/**
 * <p>
 * 资源表 Mapper 接口
 * </p>
 *
 * @author wangqieyu
 * @since 2022-07-26
 */
public interface SysResourcesMapper extends BaseMapper<SysResources> {

  List<UserRoleResourcesDTO> getUserRoleResources(Long userId);

  List<SysResources> getByRoleId(Long roleId);

}
